package com.jxust.hr.service.impl;



import com.jxust.debate.pojo.User;
import com.jxust.hr.dao.UserMapper;
import com.jxust.hr.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;

    @Override
    public User selectUser(String username){
        return userMapper.selectUser(username);
    }

    @Override
    public String selectNameByUsername(String username){
        return userMapper.selectNameByUsername(username);
    }

}
